﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace ZCTouchDrawBoard
{
    /// <summary>
    /// 普通黑色纹理
    /// </summary>
    public class NormalPaperView : BasePaperView
    {
        #region PublicMethod
        public override void Initialize(int width, int height, int depth = 16)
        {
            base.Initialize(width, height, depth, RenderTextureFormat.ARGB32, 1);
        }

        public override void Clear()
        {
            // 全黑纹理
            Use();
            GL.Clear(true, true, new Color(0.0f, 0.0f, 0.0f, 1.0f));
        }
        #endregion
    }
}
